﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="VersionSettingDescriptor.cs" company="Radical Research Ltd">
//   Copyright (c) Radical Research Ltd. The MIT License (MIT)
// </copyright>
// <summary>
//   Manages version number setting value.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace RadicalResearch.MiniState.Descriptors
{
    /// <summary>
    /// Manages version number setting value.
    /// </summary>
    internal class VersionSettingDescriptor : NumericSettingDescriptor
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="VersionSettingDescriptor"/> class.
        /// </summary>
        public VersionSettingDescriptor()
            : base(ValueKeys.Version, true, typeof(short))
        {
        }

        #endregion

        #region Properties

        /// <summary>
        /// Gets the values key prefix.
        /// </summary>
        protected override string ValueKeyPrefix
        {
            get
            {
                return "1";
            }
        }

        #endregion
    }
}